import request from '@/utils/request'

// 查询公文落实情况上报列表
export function listImplement(data) {
  return request({
    url: '/coordination/implement/list',
    method: 'post',
    data: data
  })
}

// 查询公文落实情况上报详细
export function getImplement(id) {
  return request({
    url: '/coordination/implement/' + id,
    method: 'get'
  })
}

// 新增公文落实情况上报
export function addImplement(data) {
  return request({
    url: '/coordination/implement',
    method: 'post',
    data: data
  })
}

// 修改公文落实情况上报
export function updateImplement(data) {
  return request({
    url: '/coordination/implement',
    method: 'put',
    data: data
  })
}

// 删除公文落实情况上报
export function delImplement(id) {
  return request({
    url: '/coordination/implement/' + id,
    method: 'delete'
  })
}

// 已读
export function getImplementRead(data) {
  return request({
    url: '/coordination/implement/read' ,
    method: 'post',
    data: data
  })
}
